Skip to main content

All Questions

Tagged with
6votes
4answers
894views

Very simple CSV-parser in Java

Please take a look at my method for parsing a CSV string. I am looking for a simple approach without using an external library. Is throwing a RuntimeException ...
Tobias Grothe's user avatar
2votes
1answer
284views

Reading bytes between two quotes from a stream and decoding it to its appropriate character set [closed]

This is a component for a lexer which operates on a byte input stream that handles reading and decoding the contents of a string contained within double-quotes. The validity of the encoding is handled ...
Zhro's user avatar
  • 239
5votes
4answers
4kviews

Make my XML Parser in Java using WoodStox run faster and use less memory, or just generally better

I have an XML Parser in Java using WoodStox that I wrote. This parser is going to be parsing through extremely large files, could be 5+GB. The goal of the parser is to convert a nest XML file into a ...
John Lexus's user avatar
3votes
3answers
6kviews

Parsing multiple line records using Java 8 Streams

There was a suggestion in this StackOverflow question to move this question here. I added some more information and restructured the question a bit. I'm trying to parse the following file which ...
Shiraaz.M's user avatar
0votes
1answer
1kviews

Read first column of a space delimited file with Java 8 stream

Code: ...
qed's user avatar
  • 1,439

close